package com.pureut.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.quality.domain.QualityInspection;
import com.pureut.quality.domain.dto.QualityInspectionDto;
import com.pureut.quality.domain.vo.QualityInspectionVo;
import com.pureut.quality.export.QualityInspectionExport;

import java.util.List;

/**
 * @Description
 * @Param
 * @Date
 * @Author hl
 **/
public interface IQualityInspectionService extends IService<QualityInspection> {

    /**
     * 查询检验项目
     */
    List<QualityInspectionDto> selectInspectionList(QualityInspectionVo qualityInspectionVo);

    /**
     * 新增检验项目
     */
    boolean insertInspection(QualityInspectionVo qualityInspectionVo) throws Exception;

    /**
     * 批量删除检验项目
     */
    int deleteInspectionById(String itemId);

    /**
     * 根据编号获取详细信息
     */
    QualityInspectionDto selectInspectionById(long itemId);

    /**
     * 修改检验项目
     */
    boolean updateInspectionEdit(QualityInspectionVo qualityInspectionVo);

    /**
     * 导入
     */
    String importMouldData(List<QualityInspectionExport> coCustomer);
}
